package com.group02.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.group02.community.entity.vo.SuggestVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SuggestMapper extends BaseMapper<SuggestVO> {
    IPage<SuggestVO> selectSuggestPage(IPage<SuggestVO>page, @Param("suggestVO") SuggestVO suggestVO);

    List<SuggestVO> selectAllSuggest();

    void addSuggest(SuggestVO suggestVO);

    void addOwner(SuggestVO suggestVO);
}
